package com.liuyucheng.netty.demo;

import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.util.NettyRuntime;

public class HelloServer {
    public static void main(String[] args) {
        int processors = NettyRuntime.availableProcessors();
        System.out.println("processors = " + processors);
        int jdk = Runtime.getRuntime().availableProcessors();
        System.out.println("jdk = " + jdk);


    }
}
